Skip to content

[algorithm] Check whether the needle tip is inside the detected tetrahedron proximity before adding it#64

Merged
epernod merged 3 commits into
masterfrom
fix-outsideProx
Aug 13, 2025
Merged

[algorithm] Check whether the needle tip is inside the detected tetrahedron proximity before adding it#64
epernod merged 3 commits into
masterfrom
fix-outsideProx

Conversation

@th-skam

@th-skam th-skam commented Aug 11, 2025

Copy link
Copy Markdown
Collaborator

With this change, proximities are no longer used for the needle-volume coupling once the needle has exited from the other side of the volume. See video:

25-08-11-InsertionExitFix.mp4

Issues

Fixes #63

Comment thread src/sofa/collisionAlgorithm/algorithm/InsertionAlgorithm.h
Comment thread src/sofa/collisionAlgorithm/algorithm/InsertionAlgorithm.h
@th-skam

th-skam commented Aug 13, 2025

Copy link
Copy Markdown
Collaborator Author

I added the comments @epernod

@epernod epernod left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something went wrong with the ci

@epernod

epernod commented Aug 13, 2025

Copy link
Copy Markdown
Contributor

be careful that if you always force push, it is hard to follow the changes as all the history is wiped out. It is like ready again a new PR.

@epernod epernod merged commit 9f40bff into master Aug 13, 2025
4 checks passed
@epernod epernod deleted the fix-outsideProx branch August 13, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[algorithm] Tetrahedron proximity detection continues after needle exits from the other side

2 participants